package com.kaifamiao.thread.d0926;

public class SellTicket {

    public static void main(String[] args) {
        TicketRunnable runnable = new TicketRunnable();

        Thread t1 = new Thread(runnable, "一号窗口");
        Thread t2 = new Thread(runnable, "二号窗口");
        Thread t3 = new Thread(runnable, "三号窗口");
        Thread t4 = new Thread(runnable, "四号窗口");
        Thread t5 = new Thread(runnable, "五号窗口");

        t1.start();
        t2.start();
        t3.start();
        t4.start();
        t5.start();
    }
}
